package com.fsy.config;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

@ControllerAdvice
public class GlobalExceptionHandler {
    /*@ExceptionHandler(RuntimeException.class) //捕获所有运行时异常
    public String execeptionHandler(){
        return "404.html";
    }*/
}
